<include file="Public:header" />
    <div id="main">
    	<div class="main_left">
            <include file="Public:left" />
        </div>
        <div class="main_right">
        	<div class="content">
            	<div class="content_top">{$positionname}</div>
                <div class="content_main">
                    <div class="title"><h1>{$data.title}</h1></div>
                    <notempty name="data.photo1">
                    	<div class="thumb"><img src="__ROOT__/Uploads/{$data.photo1}" /></div>
                    </notempty>
                    <notempty name="data.photo2">
                    	<div class="thumb"><img src="__ROOT__/Uploads/{$data.photo2}" /></div>
                    </notempty>
                    <notempty name="data.photo3">
                   		<div class="thumb"><img src="__ROOT__/Uploads/{$data.photo3}" /></div>
                    </notempty>
                    <notempty name="data.photo4">
                    	<div class="thumb"><img src="__ROOT__/Uploads/{$data.photo4}" /></div>
                    </notempty>
                    <notempty name="data.photo5">
                    	<div class="thumb"><img src="__ROOT__/Uploads/{$data.photo5}" /></div>
                    </notempty>
                    <div class="disdoc">{$data.content}</div>
                    <div class="prev_next_nav">
                    	<div class="prev">上一个：<empty name="prevdata">第一个<else /><a href="{:U('Photo/show',array('id'=>$prevdata['id']))}" >{$prevdata['title']|msubstr=0,20}</a></empty></div>
                        <div class="next">下一个：<empty name="nextdata">最后一个<else /><a href="{:U('Photo/show',array('id'=>$nextdata['id']))}" >{$nextdata['title']|msubstr=0,20}</a></empty></div>
                    </div>
                </div>
               
            </div>
           
        </div>
    </div>
<include file="Public:footer" />
